<div class="sub-menu">
    <table class="sub-menu-table">
        <tr>
            <td class="sub-menu-txt" name="index"><?=$this->lang->line('Candidate')?></td>
            <td class="sub-menu-line"></td>
            <td class="sub-menu-txt" name="company"><?=$this->lang->line("Company")?></td>
            <td class="sub-menu-line"></td>
            <td class="sub-menu-txt" name="intermediary"><?=$this->lang->line("Intermediary")?></td>
            <td class="sub-menu-line"></td>
            <td class="sub-menu-txt" name="houseagency"><?=$this->lang->line("House Agency")?></td>
            <td class="sub-menu-line"></td>
            <td class="sub-menu-txt" name="order"><?=$this->lang->line("Order")?></td>
            <td class="sub-menu-line"></td>
            <td class="sub-menu-txt" name="industry"><?=$this->lang->line("Industry")?></td>
            <td class="sub-menu-line"></td>
        </tr>
    </table>
</div>
<script>
var click = 0;
var storage = window.localStorage; 
var currentid = storage.getItem("currentid");
if(currentid != "index" && currentid != "company" && currentid != "intermediary" && currentid != "houseagency" 
        && currentid != "industry" && currentid != "order"){
    currentid = "index";
}
</script>
